var mongoose = require("./db");


//用户数据表
var News = mongoose.model('news', {
    chanelId: String, //新闻频道
    source: String,  //新闻来源
    newsId: String, 
    view:Number,     //浏览量
    create: String,    //时间
    date:Date,   //获取新闻当前时间
    link: String,   //链接地址
    title: String,  //标题
    passage: String,  //内容
    pic: String       //图片
});

module.exports = News;